package string;

public class ValueOfDemo {
    public static void main(String[] args) {
       int a =31456;
       String nn=String.valueOf(a);
        System.out.println(nn);

        double x=3.1415926;
        String y=String.valueOf(x);
        System.out.println(y);

        String xx=x+"";
        System.out.println(xx);

    }
}
